package com.ssy.lingxi.platform.template.service.model.dto.web;

import com.ssy.lingxi.platform.template.service.model.bo.AreaBO;
import com.ssy.lingxi.platform.template.service.model.bo.SlideshowBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 保存会员采购门户 - DTO
 * @author fhj
 * @date 2021/04/14
 * @version 2.0.0
 */
@Data
public class SavePurchaseDTO {

    @NotEmpty(message = "地市不能为空")
    @ApiModelProperty(value = "地市")
    private List<AreaBO> areaBOList;

    @NotBlank(message = "公司LOGO不能为空")
    @ApiModelProperty(value = "公司LOGO")
    private String logo;

    @NotBlank(message = "公司简介不能为空")
    @ApiModelProperty(value = "公司简介")
    private String describe;

    @ApiModelProperty(value = "首页轮播图")
    private List<SlideshowBO> slideshowBOList;

    @ApiModelProperty(value = "公司照片")
    private List<String> companyPics;

    @ApiModelProperty(value = "资质荣誉")
    private List<String> honorPics;

    @ApiModelProperty(value = "采购门户广告图")
    private List<String> advertPics;

    @ApiModelProperty(value = "宣传画册名称")
    private String albumName;

    @ApiModelProperty(value = "宣传画册地址")
    private String albumUrl;
}
